package com.exam.common.vo;

import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotEmpty;

public class ExamTeacherVO {
	private Integer examTeacherId;
	
	@NotEmpty(message="{teacher.name.notNull}")
	private String examTeacherName;
	
	@NotEmpty(message="{teacher.number.notNull}")
	@Size(min=6,max=10,message="{teacher.number.size}")
	private Integer examTeacherNumber;
	
	@NotEmpty(message="{teacher.pwd.notNull}")
	private String examTeacherPassword;

	public Integer getExamTeacherId() {
		return examTeacherId;
	}

	public void setExamTeacherId(Integer examTeacherId) {
		this.examTeacherId = examTeacherId;
	}

	public String getExamTeacherName() {
		return examTeacherName;
	}

	public void setExamTeacherName(String examTeacherName) {
		this.examTeacherName = examTeacherName;
	}

	public Integer getExamTeacherNumber() {
		return examTeacherNumber;
	}

	public void setExamTeacherNumber(Integer examTeacherNumber) {
		this.examTeacherNumber = examTeacherNumber;
	}

	public String getExamTeacherPassword() {
		return examTeacherPassword;
	}

	public void setExamTeacherPassword(String examTeacherPassword) {
		this.examTeacherPassword = examTeacherPassword;
	}

	public ExamTeacherVO(Integer examTeacherId, String examTeacherName, Integer examTeacherNumber,
			String examTeacherPassword) {
		super();
		this.examTeacherId = examTeacherId;
		this.examTeacherName = examTeacherName;
		this.examTeacherNumber = examTeacherNumber;
		this.examTeacherPassword = examTeacherPassword;
	}

	public ExamTeacherVO() {
		super();
	}
	
	
}
